package cn.kone.blog.mapper;

import cn.kone.blog.domain.Param;
import cn.kone.blog.domain.query.ParamQuery;

import java.util.List;

public interface ParamMapper {

    //查询单个
    Param findOne(Long id);
    //查询所有
    List<Param> findAll();
    //新增
    void addParam(Param param);
    //修改
    void updateParam(Param param);
    //删除
    void deleteParam(Long id);

    //高级查询+分页查询
    List<Param> pageQuery(ParamQuery paramQuery);

    //批量删除用户信息
    void batchDeleteParam(Long[] ids);

}
